package com.example.ysdt.entiey;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("类别")
public class Category {
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("类别编号")
    private String category_no;

    @ApiModelProperty("类别名称")
    private String category_name;

    @ApiModelProperty("级别")
    private Integer category_class;

    @ApiModelProperty("父类别")
    private String parent_category;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategory_no() {
        return category_no;
    }

    public void setCategory_no(String category_no) {
        this.category_no = category_no;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public Integer getCategory_class() {
        return category_class;
    }

    public void setCategory_class(Integer category_class) {
        this.category_class = category_class;
    }

    public String getParent_category() {
        return parent_category;
    }

    public void setParent_category(String parent_category) {
        this.parent_category = parent_category;
    }
}
